#ifndef STUDENT_VIEW_H
#define STUDENT_VIEW_H

#include <QWidget>
#include <QGraphicsScene>
#include <QTimer>
#include "defines.h"
#include <QDateTime>
#include <vector>
#include <utility>

namespace Ui {
class student_view;
}

class student_view : public QWidget
{
    Q_OBJECT
    
public:
    explicit student_view(QWidget *parent = 0);
    ~student_view();
    
signals:
    void changeScene(ViewsEnum i);

private slots:
    // void on_studentListView_clicked();
    void update_graphicsView();
    void note_added();
    void add_note(QString note);

    void on_testInfoButton_clicked();
    void on_noteLineEdit_returnPressed();

private:
    std::vector<std::pair<QString,float> > notes;

    QGraphicsScene* scene;
    Ui::student_view *ui;
};

#endif // STUDENT_VIEW_H
